package top.zimang.loveforwords.Model;

import java.io.Serializable;
import java.util.List;

public class Word implements Serializable {
    String key;
    List<String> ps;
    List<String> pron;
    List<ExampleSentence> sent;
    List<Acceptation> means;

    public Word(String key, List<String> ps, List<String> pron, List<ExampleSentence> sent, List<Acceptation> means) {
        this.key = key;
        this.ps = ps;
        this.pron = pron;
        this.sent = sent;
        this.means = means;
    }

    @Override
    public String toString() {
        return "Word{" +
                "key='" + key + '\'' +
                ", ps=" + ps +
                ", pron=" + pron +
                ", sent=" + sent +
                ", means=" + means +
                '}';
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public List<String> getPs() {
        return ps;
    }

    public void setPs(List<String> ps) {
        this.ps = ps;
    }

    public List<String> getPron() {
        return pron;
    }

    public void setPron(List<String> pron) {
        this.pron = pron;
    }

    public List<ExampleSentence> getSent() {
        return sent;
    }

    public void setSent(List<ExampleSentence> sent) {
        this.sent = sent;
    }

    public List<Acceptation> getMeans() {
        return means;
    }

    public void setMeans(List<Acceptation> means) {
        this.means = means;
    }
}
